﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AC5 RID: 2757
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MarkChatEmojiCsReq : IMessage<MarkChatEmojiCsReq>, IMessage, IEquatable<MarkChatEmojiCsReq>, IDeepCloneable<MarkChatEmojiCsReq>, IBufferMessage
	{
		// Token: 0x170022C9 RID: 8905
		// (get) Token: 0x06007B55 RID: 31573 RVA: 0x00149660 File Offset: 0x00147860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MarkChatEmojiCsReq> Parser
		{
			get
			{
				return MarkChatEmojiCsReq._parser;
			}
		}

		// Token: 0x170022CA RID: 8906
		// (get) Token: 0x06007B56 RID: 31574 RVA: 0x00149667 File Offset: 0x00147867
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MarkChatEmojiCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022CB RID: 8907
		// (get) Token: 0x06007B57 RID: 31575 RVA: 0x00149679 File Offset: 0x00147879
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MarkChatEmojiCsReq.Descriptor;
			}
		}

		// Token: 0x06007B58 RID: 31576 RVA: 0x00149680 File Offset: 0x00147880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkChatEmojiCsReq()
		{
		}

		// Token: 0x06007B59 RID: 31577 RVA: 0x00149688 File Offset: 0x00147888
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkChatEmojiCsReq(MarkChatEmojiCsReq other) : this()
		{
			this.aAMMDFEBIMP_ = other.aAMMDFEBIMP_;
			this.extraId_ = other.extraId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007B5A RID: 31578 RVA: 0x001496B9 File Offset: 0x001478B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkChatEmojiCsReq Clone()
		{
			return new MarkChatEmojiCsReq(this);
		}

		// Token: 0x170022CC RID: 8908
		// (get) Token: 0x06007B5B RID: 31579 RVA: 0x001496C1 File Offset: 0x001478C1
		// (set) Token: 0x06007B5C RID: 31580 RVA: 0x001496C9 File Offset: 0x001478C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool AAMMDFEBIMP
		{
			get
			{
				return this.aAMMDFEBIMP_;
			}
			set
			{
				this.aAMMDFEBIMP_ = value;
			}
		}

		// Token: 0x170022CD RID: 8909
		// (get) Token: 0x06007B5D RID: 31581 RVA: 0x001496D2 File Offset: 0x001478D2
		// (set) Token: 0x06007B5E RID: 31582 RVA: 0x001496DA File Offset: 0x001478DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ExtraId
		{
			get
			{
				return this.extraId_;
			}
			set
			{
				this.extraId_ = value;
			}
		}

		// Token: 0x06007B5F RID: 31583 RVA: 0x001496E3 File Offset: 0x001478E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MarkChatEmojiCsReq);
		}

		// Token: 0x06007B60 RID: 31584 RVA: 0x001496F1 File Offset: 0x001478F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MarkChatEmojiCsReq other)
		{
			return other != null && (other == this || (this.AAMMDFEBIMP == other.AAMMDFEBIMP && this.ExtraId == other.ExtraId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007B61 RID: 31585 RVA: 0x00149730 File Offset: 0x00147930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AAMMDFEBIMP)
			{
				num ^= this.AAMMDFEBIMP.GetHashCode();
			}
			if (this.ExtraId != 0U)
			{
				num ^= this.ExtraId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007B62 RID: 31586 RVA: 0x00149788 File Offset: 0x00147988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007B63 RID: 31587 RVA: 0x00149790 File Offset: 0x00147990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007B64 RID: 31588 RVA: 0x0014979C File Offset: 0x0014799C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ExtraId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ExtraId);
			}
			if (this.AAMMDFEBIMP)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.AAMMDFEBIMP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007B65 RID: 31589 RVA: 0x001497F4 File Offset: 0x001479F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AAMMDFEBIMP)
			{
				num += 2;
			}
			if (this.ExtraId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ExtraId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007B66 RID: 31590 RVA: 0x00149840 File Offset: 0x00147A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MarkChatEmojiCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AAMMDFEBIMP)
			{
				this.AAMMDFEBIMP = other.AAMMDFEBIMP;
			}
			if (other.ExtraId != 0U)
			{
				this.ExtraId = other.ExtraId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007B67 RID: 31591 RVA: 0x00149890 File Offset: 0x00147A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007B68 RID: 31592 RVA: 0x0014989C File Offset: 0x00147A9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.AAMMDFEBIMP = input.ReadBool();
					}
				}
				else
				{
					this.ExtraId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002F22 RID: 12066
		private static readonly MessageParser<MarkChatEmojiCsReq> _parser = new MessageParser<MarkChatEmojiCsReq>(() => new MarkChatEmojiCsReq());

		// Token: 0x04002F23 RID: 12067
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F24 RID: 12068
		public const int AAMMDFEBIMPFieldNumber = 12;

		// Token: 0x04002F25 RID: 12069
		private bool aAMMDFEBIMP_;

		// Token: 0x04002F26 RID: 12070
		public const int ExtraIdFieldNumber = 1;

		// Token: 0x04002F27 RID: 12071
		private uint extraId_;
	}
}
